package com.lwt.hospital.model;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;

/**
 * @author 丁兆顺
 * @date 2020/5/18 10:50
 * @desciption
 */
public class Admin {
    @TableId(type = IdType.AUTO)
    private  long id;
    private String password;
    private long accountId;

    public long getAccountId() {
        return accountId;
    }

    public void setAccountId(long accountId) {
        this.accountId = accountId;
    }

    private String card;

    public int getIdentity() {
        return identity;
    }

    public void setIdentity(int identity) {
        this.identity = identity;
    }

    @TableField(exist = false)
    private int identity;

    public long getId() {
        return id;
    }

    public void setId(long id) {
        this.id = id;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }


    public String getCard() {
        return card;
    }

    public void setCard(String card) {
        this.card = card;
    }
}
